<html>
<head><meta charset="utf-8"><title>Compiler ICE in travis that I can&#x27;t reproduce locally · t-compiler · Zulip Chat Archive</title></head>
<h2>Stream: <a href="https://rust-lang.github.io/zulip_archive/stream/131828-t-compiler/index.html">t-compiler</a></h2>
<h3>Topic: <a href="https://rust-lang.github.io/zulip_archive/stream/131828-t-compiler/topic/Compiler.20ICE.20in.20travis.20that.20I.20can&#x27;t.20reproduce.20locally.html">Compiler ICE in travis that I can&#x27;t reproduce locally</a></h3>

<hr>

<base href="https://rust-lang.zulipchat.com">

<head><link href="https://rust-lang.github.io/zulip_archive/style.css" rel="stylesheet"></head>

<a name="208154810"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/131828-t-compiler/topic/Compiler%20ICE%20in%20travis%20that%20I%20can%27t%20reproduce%20locally/near/208154810" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> Elichai Turkel <a href="https://rust-lang.github.io/zulip_archive/stream/131828-t-compiler/topic/Compiler.20ICE.20in.20travis.20that.20I.20can&#x27;t.20reproduce.20locally.html#208154810">(Aug 26 2020 at 22:02)</a>:</h4>
<p>Hi, I have a compiler ICE in travis, it's deterministic(if I restart it happens again) but I can't manage to replicate locally<br>
These are the full logs in case we restart travis again: <a href="https://pastebin.com/raw/qBxUtYW3">https://pastebin.com/raw/qBxUtYW3</a>, the ICE is at the end<br>
this is the current travis build:<a href="https://travis-ci.org/github/rust-bitcoin/rust-secp256k1/jobs/721488293#L1908">https://travis-ci.org/github/rust-bitcoin/rust-secp256k1/jobs/721488293#L1908</a></p>
<p>if anyone has ideas/suggestions it would be great, next I'll assume the last <code>rustc</code> command was the one causeing and i'll try to clone <code>openssl</code> with the exact same commit and run the exact same command</p>



<a name="208156135"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/131828-t-compiler/topic/Compiler%20ICE%20in%20travis%20that%20I%20can%27t%20reproduce%20locally/near/208156135" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> Jubilee <a href="https://rust-lang.github.io/zulip_archive/stream/131828-t-compiler/topic/Compiler.20ICE.20in.20travis.20that.20I.20can&#x27;t.20reproduce.20locally.html#208156135">(Aug 26 2020 at 22:17)</a>:</h4>
<blockquote>
<p>thread 'rustc' panicked at 'slice index starts at 228427 but ends at 110080', /rustc/d3fb005a39e62501b8b0b356166e515ae24e2e54/src/libserialize/opaque.rs:196:49</p>
</blockquote>
<p>ah, lovely.</p>



<a name="208156598"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/131828-t-compiler/topic/Compiler%20ICE%20in%20travis%20that%20I%20can%27t%20reproduce%20locally/near/208156598" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> Elichai Turkel <a href="https://rust-lang.github.io/zulip_archive/stream/131828-t-compiler/topic/Compiler.20ICE.20in.20travis.20that.20I.20can&#x27;t.20reproduce.20locally.html#208156598">(Aug 26 2020 at 22:22)</a>:</h4>
<p>We now have full backtrace:<br>
<a href="https://travis-ci.org/github/rust-bitcoin/rust-secp256k1/jobs/721501406#L1935">https://travis-ci.org/github/rust-bitcoin/rust-secp256k1/jobs/721501406#L1935</a><br>
and again if we'll keep restarting: <a href="https://pastebin.com/raw/sXwc6t1p">https://pastebin.com/raw/sXwc6t1p</a></p>



<a name="208181935"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/131828-t-compiler/topic/Compiler%20ICE%20in%20travis%20that%20I%20can%27t%20reproduce%20locally/near/208181935" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> bjorn3 <a href="https://rust-lang.github.io/zulip_archive/stream/131828-t-compiler/topic/Compiler.20ICE.20in.20travis.20that.20I.20can&#x27;t.20reproduce.20locally.html#208181935">(Aug 27 2020 at 06:29)</a>:</h4>
<p>Does it repro locally if you first do <code>cargo clean</code> and then the full set of cargo commands performed by CI?</p>



<a name="208185089"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/131828-t-compiler/topic/Compiler%20ICE%20in%20travis%20that%20I%20can%27t%20reproduce%20locally/near/208185089" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> Elichai Turkel <a href="https://rust-lang.github.io/zulip_archive/stream/131828-t-compiler/topic/Compiler.20ICE.20in.20travis.20that.20I.20can&#x27;t.20reproduce.20locally.html#208185089">(Aug 27 2020 at 07:23)</a>:</h4>
<p>I can't reproduce locally at all, this is part of the problem.<br>
It happens when installing wasm-pack</p>



<a name="208191803"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/131828-t-compiler/topic/Compiler%20ICE%20in%20travis%20that%20I%20can%27t%20reproduce%20locally/near/208191803" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> Elichai Turkel <a href="https://rust-lang.github.io/zulip_archive/stream/131828-t-compiler/topic/Compiler.20ICE.20in.20travis.20that.20I.20can&#x27;t.20reproduce.20locally.html#208191803">(Aug 27 2020 at 08:50)</a>:</h4>
<p>Clearing travis's cache solved this.<br>
it seems that the problem was related to having a <code>target/</code> directory from an older compiler version, and recompiling with a newer version</p>



<hr><p>Last updated: Aug 07 2021 at 22:04 UTC</p>
</html>